package com.jiangyg.mall.order.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：订单释放DTO
 *
 * @author jiangyg
 * @date 2022-12-18
 */
@Data
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
public class OrderReleaseDTO implements Serializable {

    private static final long serialVersionUID = -969695756014884471L;

    /**
     * 订单ID
     */
    @NotNull
    private Long id;

    /**
     * 订单取消类型
     */
    private int type;

}
